import cv2
import numpy as np
img=cv2.imread(r"C:\Users\Administrator\Desktop\build.png")
cv2.imshow('Input',img)
gray=cv2.cvtColor(img,cv2.COLOR_BGR2GRAY)
orb = cv2.ORB_create(nfeatures=2000)
kp,des=orb.detectAndCompute(gray,None)
img=cv2.drawKeypoints(gray,kp,img)
cv2.imshow('drawKeypoints',img)
print("kp.shape:",np.shape(kp))
print("des.shape:",np.shape(des))
cv2.waitKey()
cv2.destroyAllWindows()